package com.tinyspring.aop;

import com.tinyspring.annotation.*;

/**
 * @author: TianYuan
 * @description:
 * @version: 1.0
 */
@Aspect
@Component
public class TestServiceAop {

    @Before("com.tinyspring.service.impl.TestServiceImpl.test()")
    public void before() {
        System.out.println("before");
    }

    @After("com.tinyspring.service.impl.TestServiceImpl.test()")
    public void after(){
        System.out.println("after");
    }
}
